package com.webproject.shop.service;

import com.webproject.shop.pojo.Admin;
import com.webproject.shop.pojo.Product;

import java.util.List;

public interface AdminService {
    Admin login(String username, String password);
    void addProduct(Product product);
    void deleteProduct(int id);
    void updateProduct(Product product);
    List<Product> findAll();
}
